//
// Created by xumy on 2021/8/3.
//

#ifndef ABOUTCLASS_CIRCLE_H
#define ABOUTCLASS_CIRCLE_H
#include "Point.h"

class Circle:public Point{

public:
    Circle(float a = 0, float b = 0, float r = 0);
    float getR();
    void setR(float r);
    float area();
    friend ostream& operator<<(ostream &output, Circle &c);

protected:
    float radius;
};


#endif //ABOUTCLASS_CIRCLE_H
